JScript Examples in IE
The examples here run inside Internet Explorer, i.e. directly on client. No Web server is required. The EasyOPC-DA component must be installed on the client side, and the OPC server(s) must be accessible locally or via DCOM from the computer where EasyOPC-DA component resides.
- ReadAndDisplayValue_JScript.htm: Reads and displays an OPC item value.
JScript Examples in WSH
The examples here run in Windows Script Host (WSH), e.g. from Windows Command Prompt.
- DocExamples folder: Contains all JScript examples for OPC Classic that are given in the Reference documentation.
- ReadAndDisplayValue.js: Reads and displays an OPC item value.
- UADocExamples folder: Contains all JScript examples for OPC-UA that are given in the Reference documentation.
For those who want to use the command-line interface, a "Command Prompt From Here" link is installed into the examples folder. This link allows you to switch from the Windows Explorer to a CMD window with the current directory set to the chosen place, for quick experiments and exploration.
See Also